package com.yiren.manager.form.department;

import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yiren.core.form.GenericForm;
import com.yiren.entity.YrCaregiverSendOrdersStandard;
import com.yiren.manager.form.elder.YrElderBeHospitalForm;
import com.yiren.manager.form.pension.YrCaregiverSendOrdersStandardForm;
import com.yiren.manager.utils.CustomJsonDateDeserializer;
import com.yiren.manager.utils.CustomSimpleDateDeserializer;

public class YrCaregiverForm extends GenericForm{
	
	private static final long serialVersionUID = 5806146606483091230L;

	private String caregiverId;

 	@DateTimeFormat(pattern="yyyy-MM-dd")  
	private Date birthday;

	private String cardId;

 	@DateTimeFormat(pattern="yyyy-MM-dd")  
	private Date contractTime;

	private String createId;

 	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")  
	private Date createTime;

 	@DateTimeFormat(pattern="yyyy-MM-dd")  
	private Date entryTime;

	private String liveAddress;

	private String name;

	private String phoneNumber;

	private String photoUrl;

	private String remark;

	private Integer sex;

	private Integer status;

	private String subjectRoomId;

	private String updateId;

 	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")  
	private Date updateTime;
	
	private Integer personType;

	private String personTypeName;
	
	private String imgBase64;
	
	private Integer existStatus;
	
	private String subjectRoomName;
	
	private List<YrElderBeHospitalForm> elderBeHospitalForms;
	
	private List<YrCgSendOrderForm> cgSendOrderForms;
	
	private String caregiverSendOrdersStandardId;
	
	private YrCaregiverSendOrdersStandardForm caregiverSendOrdersStandardForm;
	
	public YrCaregiverSendOrdersStandardForm getCaregiverSendOrdersStandardForm() {
		return caregiverSendOrdersStandardForm;
	}

	public void setCaregiverSendOrdersStandardForm(YrCaregiverSendOrdersStandardForm caregiverSendOrdersStandardForm) {
		this.caregiverSendOrdersStandardForm = caregiverSendOrdersStandardForm;
	}

	public String getCaregiverSendOrdersStandardId() {
		return caregiverSendOrdersStandardId;
	}

	public void setCaregiverSendOrdersStandardId(String caregiverSendOrdersStandardId) {
		this.caregiverSendOrdersStandardId = caregiverSendOrdersStandardId;
	}

	public String getSubjectRoomName() {
		return subjectRoomName;
	}

	public void setSubjectRoomName(String subjectRoomName) {
		this.subjectRoomName = subjectRoomName;
	}

	public List<YrElderBeHospitalForm> getElderBeHospitalForms() {
		return elderBeHospitalForms;
	}

	public void setElderBeHospitalForms(List<YrElderBeHospitalForm> elderBeHospitalForms) {
		this.elderBeHospitalForms = elderBeHospitalForms;
	}

	public List<YrCgSendOrderForm> getCgSendOrderForms() {
		return cgSendOrderForms;
	}

	public void setCgSendOrderForms(List<YrCgSendOrderForm> cgSendOrderForms) {
		this.cgSendOrderForms = cgSendOrderForms;
	}

	public Integer getExistStatus() {
		return existStatus;
	}

	public void setExistStatus(Integer existStatus) {
		this.existStatus = existStatus;
	}

	public String getImgBase64() {
		return imgBase64;
	}

	public void setImgBase64(String imgBase64) {
		this.imgBase64 = imgBase64;
	}

	public Integer getPersonType() {
		return personType;
	}

	public void setPersonType(Integer personType) {
		this.personType = personType;
	}

	public String getPersonTypeName() {
		return personTypeName;
	}

	public void setPersonTypeName(String personTypeName) {
		this.personTypeName = personTypeName;
	}

	public String getCaregiverId() {
		return caregiverId;
	}

	public void setCaregiverId(String caregiverId) {
		this.caregiverId = caregiverId;
	}

	public Date getBirthday() {
		return birthday;
	}

	@JsonDeserialize(using=CustomSimpleDateDeserializer.class)
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getCardId() {
		return cardId;
	}

	public void setCardId(String cardId) {
		this.cardId = cardId;
	}

	public Date getContractTime() {
		return contractTime;
	}

	@JsonDeserialize(using=CustomSimpleDateDeserializer.class)
	public void setContractTime(Date contractTime) {
		this.contractTime = contractTime;
	}

	public String getCreateId() {
		return createId;
	}

	public void setCreateId(String createId) {
		this.createId = createId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	@JsonDeserialize(using=CustomJsonDateDeserializer.class)
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getEntryTime() {
		return entryTime;
	}

	@JsonDeserialize(using=CustomSimpleDateDeserializer.class)
	public void setEntryTime(Date entryTime) {
		this.entryTime = entryTime;
	}

	public String getLiveAddress() {
		return liveAddress;
	}

	public void setLiveAddress(String liveAddress) {
		this.liveAddress = liveAddress;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public String getPhotoUrl() {
		return photoUrl;
	}

	public void setPhotoUrl(String photoUrl) {
		this.photoUrl = photoUrl;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getSex() {
		return sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getSubjectRoomId() {
		return subjectRoomId;
	}

	public void setSubjectRoomId(String subjectRoomId) {
		this.subjectRoomId = subjectRoomId;
	}

	public String getUpdateId() {
		return updateId;
	}

	public void setUpdateId(String updateId) {
		this.updateId = updateId;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	@JsonDeserialize(using=CustomJsonDateDeserializer.class)
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	
}
